<?php
namespace app\admin\Validate;

use think\Validate;

class Attr  extends  Validate
{
    protected $rule = [
        'type_id'  =>  'require',
        'attr_name'  =>  'require',


    ];

    protected $message = [
        'type_id.require'  =>  '所属分类必须选择',
        'attr_name.require'  =>  '属性名称不能为空',




    ];


}
